import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios";
import './plugins/element.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 导入全局样式表
import './assets/css/global.css'
Vue.config.productionTip = false
Vue.use(ElementUI)
// 配置请求的根路径
axios.defaults.baseURL= 'http://localhost:8088'
// 解决跨域session丢失问题
axios.defaults.withCredentials = true
Vue.prototype.$http = axios
new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
